<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" href="/css/main/table.css"/>
<link rel="stylesheet" href="/css/main/page.css"/>
<link rel="stylesheet" href="/css/common/list.css"/>
<script type="text/javascript" src="${ctx}/plugin/jquery/jquery-2.1.1.js"></script>
<script type="text/javascript" src="${ctx}/js/page.js"></script>
<script type="text/javascript" src="${ctx}/plugin/layer-v1.9.2/layer/layer.js"></script>
<script type="text/javascript" src="${ctx}/js/project/projectAuditing.js"></script>


<body>
<div>

    <table id="dynamic-table" class="table table-striped table-bordered table-hover dataTable no-footer" role="grid"
           aria-describedby="dynamic-table_info">
        <thead>
        <tr role="row" style=" background: #CDD9D9;" class="tableHead">
        <#--<th width="100px"></th>-->
            <th width="450px">名称</th>
            <th width="300px" >操作</th>
        </tr>
        </thead>

        <tbody>
            <#list projectList as project>
        <tr role="row" class="odd">
            <th width="150px">
           <a  onclick="projectDetails(${project.id})">${project.caption!""} </a>
            </th>

            <th width="75px">
                <a onclick="passProject(${project.id})">通过</a>&nbsp;&nbsp;&nbsp;
                <a onclick="delProject(${project.id})">删除</a>
                <#--<a onclick="projectDetails(${project.id})">查看</a>-->
              </th>
        </tr>
        </#list>
        </tbody>
    </table>
    <div class="row">
        <div class="page-info" id="table_info" >
        <#--第${nowBegin}-${nowEnd}条，共${count}条-->
        </div>
    </div>
</div>
</body>
<script type="text/javascript">
    <#--new page({pageMain:"pagination",nowPage:${page!'1'},count:${count},pageSize:${pageSize!'10'},-->
    <#--url:"/admin/user",params:"?pageSize=${pageSize}&query=${query}",pakey:"page"});-->

     new  tablePage(${page} ,${pageSize},${count?c} ,"${ctx}/projectManage/projectAuditingUI?","1=1");
    <#--new  tablePage(${page} ,${pageSize},${count},"${ctx}/homepage/getphotoListDetails?",getParams());-->

    <#--function getParams() {-->
    <#--var projectId = ${projectId};-->
    <#--return "projectId=" +projectId;-->
    <#--}-->

</script>
</html>
